package com.bym;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ConfigurableApplicationContext;

@Slf4j
@SpringBootApplication
@EnableFeignClients
public class MallUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(MallUserApplication.class, args);
//        ConfigurableApplicationContext applicationContext = SpringApplication.run(MallUserApplication.class, args);
//        String name = applicationContext.getEnvironment().getProperty("name");
//        String age = applicationContext.getEnvironment().getProperty("age");
//        log.info("MallUserApplication name={}, age={}", name, age);
    }
}
